package cn.itcast.mapper;

import cn.itcast.domain.dto.TeacherDTO;
import cn.itcast.domain.vo.TeacherVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {

    List<TeacherVO> getTeacherList();

    int addTeacher(TeacherDTO teacher);

    int deleteTeacherById(Integer teacherId);

    int updateTeacher(TeacherDTO teacher);
}
